package cn.chencaiju.day04;

import org.junit.Test;

public class CNYFormat {
	// 查表法
	private static final char[] NAMES = { '零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖' };
	private static String[] BITS = {"", "拾", "百", "仟"};
	
	public String formatCNY(int number) {
		if(number<0||number>9999) return null;
		String result="";
		int rank=100000000;
		boolean isZero=false;
		if(number%10==0) {
			
		}
		return result;
	}
	@Test public void test() {
		int number=123400000;
		System.out.println(formatCNY(number));
	}
}
